<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>Talk-zone</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<link rel="shortcut icon" href="img/gotokaifeng.jpg">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
<link rel="stylesheet" href="css/cikonss.css" />
<link rel="stylesheet" href="css/font-awesome.min.css">
<script src="js/jquery-2.0.3.min.js"></script>
<script src="js/bootstrap.min.js"></script>

</head>
<%@include  file="/checkLogin.jsp"%>
<body style="height:auto">
	<div
		style="position: absolute; top: 52px; left: 0px; width: 100%; height: 100px;">
		<div id="carousel-example-generic" class="carousel slide"
			data-ride="carousel">
			<!-- Indicators 
				<ol class="carousel-indicators">
					<li data-target="#carousel-example-generic" data-slide-to="0"
						class="active"></li>
					<li data-target="#carousel-example-generic" data-slide-to="1"></li>
					<li data-target="#carousel-example-generic" data-slide-to="2"></li>
				</ol>
				<!-- Wrapper for slides -->
			<div class="carousel-inner" style="text-align: center">
				<div align="center" class="item active">
					<img alt="First slide"
						src="http://placehold.it/1200x100/78EB09/FFEB09/&text=Welcome to Talk-zone"></img>
				</div>
				<div align="center" class="item">
					<img alt="Second slide"
						src="http://placehold.it/1200x100/78EB09/FFEB09/&text=Hi,guys,U can talk anything you want"></img>
				</div>
				<div align="center" class="item">
					<img alt="Third slide"
						src="http://placehold.it/1200x100/78EB09/FFEB09/&text=Amazing~ "></img>
				</div>
			</div>

			<!-- Controls -->
			<a class="left carousel-control" href="#carousel-example-generic"
				data-slide="prev"> <span
				class="glyphicon glyphicon-chevron-left icon-chevron-left"></span></a> <a
				class="right carousel-control" href="#carousel-example-generic"
				data-slide="next"> <span
				class="glyphicon glyphicon-chevron-right icon-chevron-right"></span></a>
		</div>
	</div>
	<div
		style="position: absolute; top: 150px; left: 0px; width: 15%; height: auto; border-right; background-color: #e1e1e2;">
		<ul class="nav nav-tabs nav-stacked">
			<div class="btn-group">
				<!-- <a class="btn btn-primary" href="#"><i class="icon-user"></i>
					User</a> <a class="btn btn-primary dropdown-toggle"
					data-toggle="dropdown" href="#"><span class="icon-caret-down"></span></a>
				<ul class="dropdown-menu">
					<li><a href="#"><i class="icon-pencil"></i> Edit</a></li>
					<li><a href="#"><i class="icon-trash"></i> Delete</a></li>
					<li><a href="#"><i class="icon-ban-circle"></i> Ban</a></li>
					<li class="divider"></li>
					<li><a href="#"><i class="i"></i> Make admin</a></li>
				</ul> -->
			</div>
			<li class="active"><a class="btn btn-success"
				href="view/home.jsp" target="mainFrame"><span
					class="icon-google-plus"></span>&nbsp;&nbsp;好友动态</a></li>
			<li><a class="btn btn-success" href="user_queryAllUser"
				target="mainFrame"><span class="icon-group"></span>&nbsp;&nbsp;我的好友</a>
			</li>
			<li><a class="btn btn-success" href="message_queryAllMessage"
				target="mainFrame"><span class=" icon-comments"></span>&nbsp;&nbsp;我的留言</a>
			</li>
			<li><a class="btn btn-success" href="view/aboutme.jsp"
				target="mainFrame"><span class="icon-comments-alt"></span>&nbsp;&nbsp;我留的言</a>
			</li>
			<li><a class="btn btn-success" href="friendMap.jsp"
				target="mainFrame"><span class=" icon-sitemap"></span>&nbsp;&nbsp;好友分布</a>
			</li>
			<li><a class="btn btn-success" href="view/aboutme.jsp"
				target="mainFrame"><span class="icon-remove-sign"></span>&nbsp;&nbsp;拉黑名单</a>
			</li>
			<li><a class="btn btn-success"
				href="mailto:1193523640@qq.com.com" target="mainFrame"><span
					class="icon-envelope"></span>&nbsp;&nbsp;反馈建议</a></li>
			<li><a class="btn btn-success" href="view/aboutme.jsp"
				target="mainFrame"><span class="icon-github-alt"></span>&nbsp;&nbsp;关于作者</a></li>
		</ul>
	</div>
	<div style="position: absolute; left: 204px; top: 150px; width:83%">
		<iframe src="view/home.jsp" name="mainFrame" frameborder="1"
			marginheight="0" marginwidth="0" height="450" width="100%"></iframe>
	</div>
</body>
</html>
